import http from "@/api";

export const getQuickListApi = async (data) =>
  await http.post("quick/page/list", data);

export const insertQuickApi = async (data) =>
  await http.post("quick/insert", data);

export const deleteQuickApi = async (data) =>
  await http.post("quick/delete", data);

export const getQuickDetailApi = async (id) =>
  await http.get(`quick/get/${id}`);

export const updateQuickApi = async (data) =>
  await http.post("quick/update", data);
